package org.punkgrok.flightrecorder.strutstestcase;

import org.junit.Test;
import org.junit.Before;
import org.punkgrok.flightrecorder.struts.ExceptionalActionServlet;
import servletunit.struts.MockStrutsTestCase;

import java.io.File;

/**
 * User: Roman Florian Zabicki III
 * Date: Jun 1, 2009
 * Time: 9:06:30 PM
 */
public class GeneratedStrutsTestCase extends MockStrutsTestCase {

	public void testErrorFrom_Mon_Jun_01_2009_CDT_at_22_07_56() {
//		setRequestPathInfo("/problematic");
//		addRequestParameter("org.apache.struts.taglib.html.CANCEL", (String) null);
//		addRequestParameter("org.apache.struts.taglib.html.CANCEL.x", (String) null);
//		actionPerform();
	}

	public void setUp() throws Exception {
		this.actionServlet = new ExceptionalActionServlet();

		super.setUp();
		setConfigFile("/Users/rfzabick/IdeaProjects/flightRecorder/web/WEB-INF/struts-config.xml");
		setContextDirectory(new File("/Users/rfzabick/IdeaProjects/flightRecorder/web/"));
		System.out.println("setting up");
	}
}
